#define _CRT_SECURE_NO_WARNINGS 1
#include"string.h"

namespace jy
{
	void test_string1()
	{
		string s1("hello");
		/*s1.push_back(' ');
		s1.push_back('j');
		s1.push_back('y');*/
		/*s1 += "hh";
		s1 += 'p';*/
		//s1.append(" kitty");
		//s1.insert(2, " hhh");
		//s1.earse(2, 1);
		string s2("test.cpp");
		size_t pos = s2.find('.');
		string s4 = s2.substr(pos);
		cout << s4.c_str() << endl;
	}

	
}

int main()
{
	jy::test_string1();
	/*string s1("hello");
	s1.insert(2,"hhh");
	cout << s1 << endl;*/
	return 0;
}